﻿#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif

using XLua;
using System.Collections.Generic;


namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class UnityEngineRenderingSupportedRenderingFeaturesWrap 
    {
        public static void __Register(RealStatePtr L)
        {
			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			System.Type type = typeof(UnityEngine.Rendering.SupportedRenderingFeatures);
			Utils.BeginObjectRegister(type, L, translator, 0, 0, 25, 24);
			
			
			
			Utils.RegisterFunc(L, Utils.GETTER_IDX, "reflectionProbeModes", _g_get_reflectionProbeModes);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "defaultMixedLightingModes", _g_get_defaultMixedLightingModes);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "mixedLightingModes", _g_get_mixedLightingModes);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "lightmapBakeTypes", _g_get_lightmapBakeTypes);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "lightmapsModes", _g_get_lightmapsModes);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "enlighten", _g_get_enlighten);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "lightProbeProxyVolumes", _g_get_lightProbeProxyVolumes);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "motionVectors", _g_get_motionVectors);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "receiveShadows", _g_get_receiveShadows);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "reflectionProbes", _g_get_reflectionProbes);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "rendererPriority", _g_get_rendererPriority);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "terrainDetailUnsupported", _g_get_terrainDetailUnsupported);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "rendersUIOverlay", _g_get_rendersUIOverlay);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "overridesEnvironmentLighting", _g_get_overridesEnvironmentLighting);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "overridesFog", _g_get_overridesFog);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "overridesRealtimeReflectionProbes", _g_get_overridesRealtimeReflectionProbes);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "overridesOtherLightingSettings", _g_get_overridesOtherLightingSettings);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "editableMaterialRenderQueue", _g_get_editableMaterialRenderQueue);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "overridesLODBias", _g_get_overridesLODBias);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "overridesMaximumLODLevel", _g_get_overridesMaximumLODLevel);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "rendererProbes", _g_get_rendererProbes);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "particleSystemInstancing", _g_get_particleSystemInstancing);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "overridesShadowmask", _g_get_overridesShadowmask);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "overrideShadowmaskMessage", _g_get_overrideShadowmaskMessage);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "shadowmaskMessage", _g_get_shadowmaskMessage);
            
			Utils.RegisterFunc(L, Utils.SETTER_IDX, "reflectionProbeModes", _s_set_reflectionProbeModes);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "defaultMixedLightingModes", _s_set_defaultMixedLightingModes);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "mixedLightingModes", _s_set_mixedLightingModes);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "lightmapBakeTypes", _s_set_lightmapBakeTypes);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "lightmapsModes", _s_set_lightmapsModes);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "enlighten", _s_set_enlighten);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "lightProbeProxyVolumes", _s_set_lightProbeProxyVolumes);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "motionVectors", _s_set_motionVectors);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "receiveShadows", _s_set_receiveShadows);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "reflectionProbes", _s_set_reflectionProbes);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "rendererPriority", _s_set_rendererPriority);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "terrainDetailUnsupported", _s_set_terrainDetailUnsupported);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "rendersUIOverlay", _s_set_rendersUIOverlay);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "overridesEnvironmentLighting", _s_set_overridesEnvironmentLighting);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "overridesFog", _s_set_overridesFog);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "overridesRealtimeReflectionProbes", _s_set_overridesRealtimeReflectionProbes);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "overridesOtherLightingSettings", _s_set_overridesOtherLightingSettings);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "editableMaterialRenderQueue", _s_set_editableMaterialRenderQueue);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "overridesLODBias", _s_set_overridesLODBias);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "overridesMaximumLODLevel", _s_set_overridesMaximumLODLevel);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "rendererProbes", _s_set_rendererProbes);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "particleSystemInstancing", _s_set_particleSystemInstancing);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "overridesShadowmask", _s_set_overridesShadowmask);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "overrideShadowmaskMessage", _s_set_overrideShadowmaskMessage);
            
			
			Utils.EndObjectRegister(type, L, translator, null, null,
			    null, null, null);

		    Utils.BeginClassRegister(type, L, __CreateInstance, 1, 1, 1);
			
			
            
			Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "active", _g_get_active);
            
			Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "active", _s_set_active);
            
			
			Utils.EndClassRegister(type, L, translator);
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 1)
				{
					
					var gen_ret = new UnityEngine.Rendering.SupportedRenderingFeatures();
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
			}
            return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.Rendering.SupportedRenderingFeatures constructor!");
            
        }
        
		
        
		
        
        
        
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_active(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, UnityEngine.Rendering.SupportedRenderingFeatures.active);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_reflectionProbeModes(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                translator.PushUnityEngineRenderingSupportedRenderingFeaturesReflectionProbeModes(L, gen_to_be_invoked.reflectionProbeModes);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_defaultMixedLightingModes(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                translator.PushUnityEngineRenderingSupportedRenderingFeaturesLightmapMixedBakeModes(L, gen_to_be_invoked.defaultMixedLightingModes);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_mixedLightingModes(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                translator.PushUnityEngineRenderingSupportedRenderingFeaturesLightmapMixedBakeModes(L, gen_to_be_invoked.mixedLightingModes);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_lightmapBakeTypes(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                translator.PushUnityEngineLightmapBakeType(L, gen_to_be_invoked.lightmapBakeTypes);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_lightmapsModes(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                translator.PushUnityEngineLightmapsMode(L, gen_to_be_invoked.lightmapsModes);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_enlighten(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.enlighten);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_lightProbeProxyVolumes(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.lightProbeProxyVolumes);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_motionVectors(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.motionVectors);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_receiveShadows(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.receiveShadows);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_reflectionProbes(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.reflectionProbes);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_rendererPriority(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.rendererPriority);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_terrainDetailUnsupported(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.terrainDetailUnsupported);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_rendersUIOverlay(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.rendersUIOverlay);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_overridesEnvironmentLighting(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.overridesEnvironmentLighting);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_overridesFog(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.overridesFog);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_overridesRealtimeReflectionProbes(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.overridesRealtimeReflectionProbes);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_overridesOtherLightingSettings(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.overridesOtherLightingSettings);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_editableMaterialRenderQueue(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.editableMaterialRenderQueue);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_overridesLODBias(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.overridesLODBias);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_overridesMaximumLODLevel(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.overridesMaximumLODLevel);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_rendererProbes(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.rendererProbes);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_particleSystemInstancing(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.particleSystemInstancing);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_overridesShadowmask(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.overridesShadowmask);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_overrideShadowmaskMessage(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushstring(L, gen_to_be_invoked.overrideShadowmaskMessage);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_shadowmaskMessage(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushstring(L, gen_to_be_invoked.shadowmaskMessage);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_active(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    UnityEngine.Rendering.SupportedRenderingFeatures.active = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.GetObject(L, 1, typeof(UnityEngine.Rendering.SupportedRenderingFeatures));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_reflectionProbeModes(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                UnityEngine.Rendering.SupportedRenderingFeatures.ReflectionProbeModes gen_value;translator.Get(L, 2, out gen_value);
				gen_to_be_invoked.reflectionProbeModes = gen_value;
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_defaultMixedLightingModes(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                UnityEngine.Rendering.SupportedRenderingFeatures.LightmapMixedBakeModes gen_value;translator.Get(L, 2, out gen_value);
				gen_to_be_invoked.defaultMixedLightingModes = gen_value;
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_mixedLightingModes(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                UnityEngine.Rendering.SupportedRenderingFeatures.LightmapMixedBakeModes gen_value;translator.Get(L, 2, out gen_value);
				gen_to_be_invoked.mixedLightingModes = gen_value;
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_lightmapBakeTypes(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                UnityEngine.LightmapBakeType gen_value;translator.Get(L, 2, out gen_value);
				gen_to_be_invoked.lightmapBakeTypes = gen_value;
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_lightmapsModes(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                UnityEngine.LightmapsMode gen_value;translator.Get(L, 2, out gen_value);
				gen_to_be_invoked.lightmapsModes = gen_value;
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_enlighten(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.enlighten = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_lightProbeProxyVolumes(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.lightProbeProxyVolumes = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_motionVectors(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.motionVectors = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_receiveShadows(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.receiveShadows = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_reflectionProbes(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.reflectionProbes = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_rendererPriority(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.rendererPriority = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_terrainDetailUnsupported(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.terrainDetailUnsupported = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_rendersUIOverlay(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.rendersUIOverlay = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_overridesEnvironmentLighting(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.overridesEnvironmentLighting = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_overridesFog(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.overridesFog = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_overridesRealtimeReflectionProbes(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.overridesRealtimeReflectionProbes = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_overridesOtherLightingSettings(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.overridesOtherLightingSettings = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_editableMaterialRenderQueue(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.editableMaterialRenderQueue = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_overridesLODBias(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.overridesLODBias = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_overridesMaximumLODLevel(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.overridesMaximumLODLevel = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_rendererProbes(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.rendererProbes = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_particleSystemInstancing(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.particleSystemInstancing = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_overridesShadowmask(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.overridesShadowmask = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_overrideShadowmaskMessage(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                UnityEngine.Rendering.SupportedRenderingFeatures gen_to_be_invoked = (UnityEngine.Rendering.SupportedRenderingFeatures)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.overrideShadowmaskMessage = LuaAPI.lua_tostring(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 0;
        }
        
		
		
		
		
    }
}
